package com.guigu.tms.manager.controller.zhh;

import com.github.pagehelper.PageInfo;
import com.guigu.tms.commons.aggregation.entity.DriverJob;
import com.guigu.tms.commons.aggregation.feign.DriverJobFeignClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("driverJob")
public class DriverJobController {
    @Autowired
    DriverJobFeignClient client;
    @GetMapping("DriverJobAll")
   public PageInfo<DriverJob> DriverJobAll(String id, String name, Integer status, String taskTransportId, Integer num, Integer size){
    return client.DriverJobAll(id, name, status, taskTransportId, num, size);
    }
}
